package com.yanqu.road.entity.log.horserun;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

@FieldTypeAnnotation(tableName = "t_l_horse_run_attr_level_add", autoSave = true, dataUpload = true, eventName = "horserun_attrupg",uploadCk = true,desc = "小马快跑属性升级日志")
public class HorseRunAttrLevelAddLog extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "小马属性升级类型",dataAttribute = "horserun_type")
    private int type;
    @FieldTypeAnnotation(desc = "等级变更值",dataAttribute = "horserun_point")
    private int changeNum;
    @FieldTypeAnnotation(desc = "剩余属性点",dataAttribute = "horserun_nowpoint")
    private int remainAttrPoint;
    @FieldTypeAnnotation(desc = "当前属性等级",dataAttribute = "horserun_attrlv")
    private int attrLevel;
    @FieldTypeAnnotation(desc = "当前小马评分",dataAttribute = "horserun_score")
    private long nowGrade;

    public HorseRunAttrLevelAddLog(int activityId, long userId, int type, int remainAttrPoint, int changeNum, int attrLevel, long nowGrade) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.remainAttrPoint = remainAttrPoint;
        this.changeNum = changeNum;
        this.attrLevel = attrLevel;
        this.nowGrade = nowGrade;

    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getRemainAttrPoint() {
        return remainAttrPoint;
    }

    public void setRemainAttrPoint(int remainAttrPoint) {
        this.remainAttrPoint = remainAttrPoint;
    }

    public int getChangeNum() {
        return changeNum;
    }

    public void setChangeNum(int changeNum) {
        this.changeNum = changeNum;
    }

    public int getAttrLevel() {
        return attrLevel;
    }

    public void setAttrLevel(int attrLevel) {
        this.attrLevel = attrLevel;
    }

    public long getNowGrade() {
        return nowGrade;
    }

    public void setNowGrade(long nowGrade) {
        this.nowGrade = nowGrade;
    }



    public HorseRunAttrLevelAddLog() {
    }
}
